package com.sniper.springmvc.model;

import java.util.Date;

/**
 * 大数据处理 1、分表 动态表：每个月生成一个表 logs_2014_4,logs_2014_5用调度 create table logs_2014_4
 * if not exists like logs 一般都是提前一两个月生成表 2、分库
 *
 * @author laolang
 */

public class Log {

    private String id;
    // 操作人
    private String user;
    // 操作方法
    private String name;
    // 操作参数
    private String params;
    // 操作结果
    private String result;
    // 操作结果消息
    private String resultMsg;

    private Date ctime = new Date();

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;

    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getResultMsg() {
        return resultMsg;
    }

    public void setResultMsg(String resultMsg) {
        this.resultMsg = resultMsg;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }
}
